package org.wk.account.domain.zuan;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

import javax.persistence.*;

/**
 * @ClassName SubAccountZuanAttendancesBill
 * @Description 用户子账户  鲸钻 每日签到奖励账单
 * @Author ZhaoPing'an
 * @Date 2018/5/21 17:33
 */
@Entity(name="org.wk.account.domain.zuan.SubAccountZuanAttendancesBill")
@Table(name="sub_account_zuan_attendances_bill")
public class SubAccountZuanAttendancesBill extends BaseEntity {

    /**
     * @Fields serialVersionUID: long
     * @Desc TODO:
     */
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 32)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid",strategy = "uuid")
    private String id;
    @Column
    private String userId;
    @Column
    private int amount;

    public String getId() {
        return id;
    }

    public String getUserId() {
        return userId;
    }

    public int getAmount() {
        return amount;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
}
